<html>
<head>
	<meta charset="UTF-8">
	<title>注册</title>
</head>
<style type="text/css">
	body{background-image:url(2.jpg);background-size: 90%}
</style>
<body>
<form action="doreg.php"method="post">
<table>
<h1>还没有开心网账号？赶紧注册吧!</h1>
    <tr>
        <td><label for="email">电子邮箱:</label></td>
		<td><input type="email"name="email" id="email"required>
		<br>
		如果没有邮箱，你可以用账号注册
		</td>
	</tr>
		<tr>
			<td><label for="password">创建密码:</label></td>
			<td><input type="password" name="password" id="password" required></td>
		</tr>
		<tr>
			<td><label for="username">姓名:</label></td>
			<td><input type="text"name="username" id="username" required=""></td>
		</tr>
		<tr>
			<td><label for="sex">性别:</label></td>
			<td><input type="radio" name="sex" id="sex" value="男"checked>男
			<input type="radio" name="sex" id="sex" value="女"checked>女</td>
		</tr>
		<tr>
			<td>生日：</td>
			<td><input type="date"name="birthday"></td>
		</tr>
		<tr>
			<td><label for="status">我现在：</label></td>
			<td><input type="checkbox"name="status[]" id="status" value="在工作">在工作
			    <input type="checkbox"name="status[]" id="status" value="在上学">在上学
			    <input type="checkbox"name="status[]" id="status" value="其他">其他</td>
		</tr>
		<tr>
			<td>居住地:</td>
			<td><textarea name="intro"></textarea></td>
		</tr>
		<tr>
			<td><label for="agree"></label></td>
			<td><input type="checkbox"name="agree" id="agree"value="同意开心网服务条款">同意开心网服务条款</td>
		</tr>
	<tr>
	<td>
	<style type="text/css">
	body{text-align: left;}
	</style>
	</td>
		<td><input type="submit"name="submit" id="submit" value="立即注册"></td>
	</tr>
</table>
</form>
</body>
</html>




